import './App.css'

import { useToast } from './utils/toast/index.tsx'
import { RouterProvider } from 'react-router-dom'
import router from './router/index.tsx'
const { Toast } = useToast()
// 上下文导入

function App() {
  return (
    <>
      <Toast />
      <RouterProvider router={router} />
    </>
  )
}

export default App
